package com.imachen.pet.mapper;

import com.imachen.basic.mapper.BaseMapper;
import com.imachen.pet.domain.Pet;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author AChen
 * @since 2022-09-03
 */
public interface PetMapper extends BaseMapper<Pet> {
    //宠物下架
    void offsale(@Param("date") Date date, @Param("ids") List<Long> ids);

    void onsale(@Param("date") Date date,@Param("id") Long id);
}
